﻿<form id="pagerForm" method="post" action="@ViewBag.pagerformaction">
	<input type="hidden" name="opentimes" value="@(ViewBag.opentime)" />
	<input type="hidden" name="keywords" value="@(ViewBag.keywords)" />
	<input type="hidden" name="pageNum" value="@(ViewBag.pageNum)" />
	<input type="hidden" name="numPerPage" value="@(ViewBag.numPerPage)" />
</form>
<div class="pageHeader">
<h2 style="font-size: medium">@ViewBag.Title</h2>
	<form onsubmit="return navTabSearch(this);" action="@ViewBag.searchaction" method="post">
	<div class="searchBar">
		@RenderSection("searchbar",false)
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
        @RenderSection("topbutton",false)
		</ul>
	</div>
	
        @RenderBody()

	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="@(ViewBag.numPerPage)">选择</option>
                <option value="10">10</option>
                <option value="20">20</option>
				<option value="50">50</option>
				<option value="100">100</option>
				<option value="200">200</option>
			</select>
			<span>条，共 @(ViewBag.totalnum) 条，当前显示 @(ViewBag.currentpagenum) 条</span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="@(ViewBag.totalnum)" numPerPage="@(ViewBag.numPerPage)" pageNumShown="@(ViewBag.totalnum / ViewBag.numPerPage + 1)" currentPage="@(ViewBag.pageNum)"></div>
	</div>
</div>